home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / vg-2.03 / video / vdevsw.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-03  |  1.5 KB  |  61 lines

  1. /*
  2.  * Copyright (C) 1990-1992 by Michael Davidson.
  3.  * All rights reserved.
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software
  6.  * and its documentation for any purpose and without fee is hereby
  7.  * granted, provided that the above copyright notice appear in all
  8.  * copies and that both that copyright notice and this permission
  9.  * notice appear in supporting documentation.
  10.  *
  11.  * This software is provided "as is" without express or implied warranty.
  12.  */
  13.  
  14. /*
  15.  * video device configuration
  16.  */
  17.  
  18. #include    "vdev.h"
  19.  
  20. extern int    vga_probe();
  21. extern int    vga_init();
  22.  
  23. extern int    vesa_probe();
  24. extern int    vesa_init();
  25.  
  26. extern int    ati_probe();
  27. extern int    ati_init();
  28.  
  29. extern int    tseng_probe();
  30. extern int    tseng_init();
  31.  
  32. extern int    trident_probe();
  33. extern int    trident_init();
  34.  
  35. extern int    paradise_probe();
  36. extern int    paradise_init();
  37.  
  38. extern int    s3_probe();
  39. extern int    s3_init();
  40.  
  41. /*
  42.  * The order of the entries in this table determines the
  43.  * auto-detection sequence for the video card.
  44.  *
  45.  * When adding a new entry to the table care must be taken to
  46.  * ensure that it does not interfere with the correct auto-detection
  47.  * of the other cards.
  48.  *
  49.  */
  50. struct vdevinit    vdevsw[] =
  51. {
  52.     {    "VESA",        vesa_probe,    vesa_init    },
  53.     {    "PARADISE",    paradise_probe,    paradise_init    },
  54.     {    "ATI",        ati_probe,    ati_init    },
  55.     {    "TRIDENT",    trident_probe,    trident_init    },
  56.     {    "TSENG",    tseng_probe,    tseng_init    },
  57.     {    "S3",        s3_probe,    s3_init        },
  58.     {    "VGA",        vga_probe,    vga_init    },
  59.     {    0,        0,        0        }
  60. };
  61.